import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import Home from './pages/Home.jsx';
import Settings from './pages/Settings.jsx';
import Auth from './pages/Auth.jsx';
import config from './route.js'
function App() {
  return (
    <Router>
      <Routes>
        <Route path="/home" element={<Home />} />
        <Route path="/settings" element={<Settings />} />
        <Route path="/" element={<Auth type="login" />} />
        <Route path="/register" element={<Auth type="register" />} />
      </Routes>
    </Router>
  );
}
export default App;